/*
 * @Author: 义存宝
 * @Date: 2021-03-05 20:51:46
 * @LastEditors: 郭邵菲
 * @LastEditTime: 2021-03-12 18:34:05
 * @Description: file content
 */

import {HomeOutlined,SolutionOutlined,SnippetsOutlined,UserOutlined} from '@ant-design/icons';


export const menulist=[
    {
        title:"试题管理",
        meta:{
            icon:SnippetsOutlined,
            isShow:true
        },
        children:[
            {
                title:"添加试题",
                path:"/main/addtest",
                meta:{
                    isShow:true,
                    view_id:"main-addQuestions"
                }
            },
            {
                title:"试题分类",
                path:"/main/classifytest",
                meta:{
                    isShow:true,
                    view_id:"main-questionsType"
                }
            },
            {
                title:"查看试题",
                path:"/main/looktest",
                meta:{
                    isShow:true,
                    view_id:"main-watchQuestions"
                }
            },
            {
                title:"编辑试题",
                path:"/main/testtest",
                meta:{
                    isShow:false,
                    view_id:"main-editQuestions"
                }
            }
        ]
    },

    {
        title:"用户管理",
        meta:{
            icon:UserOutlined ,
            isShow:true
        },
        children:[
            {
                title:"添加用户",
                path:"/main/adduse",
                meta:{
                    isShow:true,
                    view_id:"main-addUser"
                }
            },
            {
                title:"用户展示",
                path:"/main/showuse",
                meta:{
                    isShow:true,
                    view_id:"main-showUser"
                }
            }
        ]
    },


    {
        title:"考试管理",
        meta:{
            icon:SolutionOutlined ,
            isShow:true
        },
        children:[
            {
                title:"添加考试",
                path:"/main/addexam",
                meta:{
                    isShow:true,
                    view_id:"main-addExam"
                }
            },
            {
                title:"试卷列表",
                path:"/main/listexam",
                meta:{
                    isShow:true,
                    view_id:"main-examList"
                }
            }
        ]
    },


    {
        title:"班级管理",
        meta:{
            icon:HomeOutlined,
            isShow:true
        },
        children:[
            {
                title:"班级管理",
                path:"/main/banji",
                meta:{
                    isShow:true,
                    view_id:"main-grade"
                }
            },
            {
                title:"教室管理",
                path:"/main/jiaoshi",
                meta:{
                    isShow:true,
                    view_id:"main-room"
                }
            },
            {
                title:"学生管理",
                path:"/main/student",
                meta:{
                    isShow:true,
                    view_id:"main-student"
                }
            }
        ]
    }
]